package edu.jd.movieplatform.user.feedback.dao;

import edu.jd.movieplatform.user.feedback.Feedback;
import edu.jd.movieplatform.user.feedback.FeedbackDto;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @descriptions:
 * @data: 2021/7/10 16:48
 */
public interface FeedbackDao {
    boolean createFeedback(FeedbackDto dto);
    @Select("select * from customer_feedback where cust_username=#{cust_username};")
    List<Feedback> findFeedbackList(FeedbackDto dto);
}
